如果精灵从回收列表中回收一个垃圾,我们可以加5分。
- 删除 if 语句内部的 .say() 指令。使用 Remove Sprite 删除 hit_sprite。
- 精灵每次与可回收物碰撞时,使用 Add Value 向 recycle_xp 添加 5 。
- 使用 Update Display 在 collected_display 中显示你的 recycle_xp 。
To navigate the page using the TAB key, first press ESC to exit the code editor.